import Vue from 'vue'
import VueRouter from 'vue-router'
Vue.use(VueRouter)

const routes = [{
  path: "/list",
  component: () => import('../views/list/index.vue')
}, {
  path: "/cart",
  component: () => import('../views/cart/index.vue')
}, {
  path: "/todolist",
  component: () => import("../views/dolist/index.vue")
}]

const router = new VueRouter({
  routes
})

export default router